package com.itheima.entity;

import java.io.Serializable;
import java.util.Map;

/**
 * 封装查询条件
 */
public class QueryPageBean implements Serializable{
    /**
     * 页码
     */
    private Integer currentPage;
    /**
     * 每页记录数
     */
    private Integer pageSize;
    /**
     * 查询条件
     */
    private String searchMap;


    public QueryPageBean(Integer currentPage, Integer pageSize, String searchMap) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.searchMap = searchMap;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getSearchMap() {
        return searchMap;
    }

    public void setSearchMap(String searchMap) {
        this.searchMap = searchMap;
    }
}